package com.example.springboot.utils.TimerTask;

import lombok.Data;


@Data
public class TaskInfo {
    private String TaskServerName;
    private Integer TaskTime;
    private TaskType Type = TaskType.TASK_DELETE_CACHE;

    public TaskInfo(String serverName, Integer taskTime, TaskType type){
        this.TaskServerName = serverName;
        this.TaskTime = taskTime;
        this.Type = type;
    }
    public TaskInfo(){

    }
}
